package com.ylpms.agme.service;

import com.ylpms.agme.dao.StationDao;
import com.ylpms.agme.entity.StationEntity;
import com.ylpms.mysql.config.TargetDataSource;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StationService {

    @Resource
    StationDao stationDao;

    public List<StationEntity> getStationsByCodes(String codes){
        return  stationDao.getStationsByCodes(codes);
    }
}
